package com.hospital.wx.controller.form;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class QrcodeRequestDTO {
    @NotBlank(message = "页面路径不能为空")
    private String page;

    @NotBlank(message = "场景值不能为空")
    private String scene;

    @Min(value = 280, message = "宽度不能小于280px")
    @Max(value = 1280, message = "宽度不能大于1280px")
    private int width = 280;
}
